﻿using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Data.Services.Common;
using System.Linq;
using System.ServiceModel.Web;
using System.Web;
using MyNote.Data.Models;

namespace MyNote
{
    public class notes : DataService<NoteModelContainer>
    {
        // This method is called only once to initialize service-wide policies.
        public static void InitializeService(IDataServiceConfiguration config)
        {
            config.SetEntitySetAccessRule("NoteSet", EntitySetRights.AllRead);
        }
    }
}
